<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/layouts/content.xhtml">
	<ui:define name="content">
		<h:form id="searchForm">
			<h2>
				<h:outputText value="#{messageSource['search.headline']}"
					class="headline" />
			</h2>
			<h4><h:outputText value="#{messageSource['connection.detail']}" class="title"/></h4>
			<div class="input"><div class="description">#{messageSource['connection.from']}</div><h:outputText value="#{connection.to}"/></div>
			<div class="input"><div class="description">#{messageSource['connection.to']}</div><h:outputText value="#{connection.from}"/></div>
			<div class="input"><div class="description">#{messageSource['connection.date']}</div><h:outputText value="#{connection.tripDate}">
						<f:convertDateTime style="date" timeZone="Europe/Berlin"
							locale="#{languageBean.locale}" />
					</h:outputText></div>
			<div class="input"><div class="description">#{messageSource['connection.comment']}</div><h:outputText value="#{connection.comment}"/></div>
			<div class="input"><div class="description">#{messageSource['email']}</div><h:outputText value="#{connection.user.email}"/></div>
				<p:separator />  
			<h4><h:outputText value="#{messageSource['user.detail']}" class="title"/></h4>
			<div class="input"><div class="description">#{messageSource['firstname']}</div><h:outputText value="#{connection.user.firstname}"/></div>
			<div class="input"><div class="description">#{messageSource['lastname']}</div><h:outputText value="#{connection.user.lastname}"/></div>
			<div class="input"><div class="description">#{messageSource['phone']}</div><h:outputText value="#{connection.user.phone}"/></div>
			<div class="input"><div class="description">#{messageSource['email']}</div><h:outputText value="#{connection.user.email}"/></div>
		</h:form>
	</ui:define>
</ui:composition>